projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2690c30
)
More correct handling of CSIZE, even though this is totally a sugar
author
robertl
<robertl>
Mon, 27 Jan 2003 17:19:46 +0000
(17:19 +0000)
committer
robertl
<robertl>
Mon, 27 Jan 2003 17:19:46 +0000
(17:19 +0000)
pill with our settings...
jeeps/gpsserial.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.c
b/jeeps/gpsserial.c
index fcef833366d5b863fe2f3cb956677a4a784459a3..1565a531bb07734551165a5191da4cf4d12a334c 100644
(file)
--- a/
jeeps/gpsserial.c
+++ b/
jeeps/gpsserial.c
@@
-248,7
+248,8
@@
int32 GPS_Serial_Open(int32 *fd, const char *port)
return 0;
}
- tty.c_cflag |= (CREAD | CS8 | CSIZE | CLOCAL);
+ tty.c_cflag &= ~(CSIZE);
+ tty.c_cflag |= (CREAD | CS8 | CLOCAL);
cfsetospeed(&tty,B9600);
cfsetispeed(&tty,B9600);